﻿using System.Collections.Generic;

namespace SEIPropertyDataService.Entity.ViewModels
{
    /// <summary>
    /// 拟合回归-纯组分数据组信息
    /// </summary>
    public class VM_DataGroupOfPureModel
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 物性key
        /// </summary>
        public string PropType { get; set; }
        /// <summary>
        /// 选中公式key
        /// </summary>
        public string Formulas { get; set; }
        /// <summary>
        /// 组分id
        /// </summary>
        public int ComponentId { get; set; }
        /// <summary>
        /// 温度单位key
        /// </summary>
        public string TempUnit { get; set; }
        /// <summary>
        /// 压力单位key
        /// </summary>
        public string PresUnit { get; set; }
        /// <summary>
        /// 物性单位key
        /// </summary>
        public string PropUnit { get; set; }
        /// <summary>
        /// 数据列表
        /// </summary>
        public List<VM_DataGroupItemOfPureModel> Items { get; set; }
    }
    /// <summary>
    /// 拟合回归-纯组分数据组子项
    /// </summary>
    public class VM_DataGroupItemOfPureModel
    {
        /// <summary>
        /// 用量
        /// </summary>
        public string Usage { get; set; }
        /// <summary>
        /// 温度值
        /// </summary>
        public double? TempValue { get; set; }
        /// <summary>
        /// 压力值
        /// </summary>
        public double? PresValue { get; set; }
        /// <summary>
        /// 物性值
        /// </summary>
        public double? PropertyValue { get; set; }

    }
}
